package com.yy.permissions_general.module.system.mail.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yy.permissions_general.module.system.mail.entity.Mail;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 邮箱 Mapper 接口
 * </p>
 *
 * @author YY
 * @since 2022-02-10
 */
public interface MailMapper extends BaseMapper<Mail> {

    /**
    * 分页查询
    * @param pageContext
    * @param mail
    * @return
    */
    Page<Mail> selectPage(@Param("page")Page pageContext, @Param("mail")Mail mail);

}

